package com.felord.member.controller;

import com.felord.entity.User;
import org.springframework.web.bind.annotation.*;

/**
 * Created with IntelliJ IDEA.
 * Author: Dax
 * Description:
 * Date: 2017/12/16
 * Time: 11:55
 */

@RestController
@RequestMapping("/msg")
public class UserController {

    @PostMapping("/get")
    public User getUser(@RequestBody User user) {
        System.out.println("i am  message-service <<<<<<<<<<<<<<<<<<<<");
        System.out.println(user);
        return user;
    }

}
